package com.qiaofang.applet.service.member.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * Created by IDEA.
 *
 * @auther Zym.
 * @company qiaofang
 * @date 2021/1/11 17:06
 */
@Data
@ApiModel("我的预约列表查询DTO")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MyAppointmentQueryDto {

    @ApiModelProperty("用户ID, 经纪人用employeeUniqueUuid")
    @NotNull(message = "用户ID不能为空")
    private String userId;

    @ApiModelProperty("用户类型 1 小程序用户 2 经纪人")
    @NotNull(message = "用户类型不能为空")
    private Integer userType;

    @ApiModelProperty("预约/带看状态：0 待看  1 已看  2 已取消")
    @NotNull(message = "预约/带看状态不能为空")
    private Integer status;
}
